<?php

namespace apiend\modules\business\models;

use Yii;

/**
 * 首页推荐面板
 *
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class BillTypeLogic extends \apiend\models\searchs\BillTypeSearch {

    /**
     * 年票直达
     * @inheritdoc
     */
    public function buildQuery() {
        $query = $this->find();
        $query->andWhere(['company_id' => $this->company_id]);
        return $query;
    }

}
